public class Exam3_6 {
    public static void main(String args[]) {
            int sum = 0;
            int i = 1;
            while(sum<8888){
                    sum=sum+i;
                    i++;
            }
            System.out.println(i-1);
    }
}
